<div class="modal-header">
    <h4 class="modal-title">
        <span *ngIf="title">{{title}}</span>
    </h4>
    <span class="pull-right">
        <button type="button" class="close" (click)="close()" [attr.aria-label]="l('Close')">
            <i aria-hidden="true" class="bi bi-x"></i>
        </button>
    </span>
</div>
<div class="modal-body" [busyIf]="isLoading">
    <div>
        <div class="row" *ngFor="let item of data">
            <div class="col-sm-2">&nbsp;</div>
            <div class="col-sm-10" *ngIf="!type"> {{item.name}}</div>
            <div class="col-sm-10" *ngIf="type && item.value===0">【引用】 {{item.name}}</div>
            <div class="col-sm-10" *ngIf="type && item.value===1">【链接】 {{item.name}}</div>
        </div>
    </div>
</div>
<div class="modal-footer">
    <button type="button" class="btn btn-default font-weight-bold" (click)="close()">
        {{"Cancel" | localize}}
    </button>
</div>